package params

type LoginReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	Mobile   string `form:"mobile" json:"mobile" uri:"mobile" binding:"required"`
	SmsCode  string `form:"smsCode" json:"smsCode" uri:"smsCode" binding:"required"`
	Password string `form:"password" json:"password" uri:"password" binding:"required"`
}

type SendSmsReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	Mobile string `form:"mobile" json:"mobile" uri:"mobile" binding:"required"`
}

type UserInfoReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	UserId int `form:"userId" json:"userId" uri:"userId" binding:"required"`
}
